<template>
  <div>
    <TypeNve />
    <ListContainer />
    <Recommend />
    <Rank />
    <Like />
    <Floor />
    <Brand />
  </div>
</template>

<script>
// 这里使用全局组件的方法
// import TypeNve from "./TypeNve:
import ListContainer from './ListContainer'
import Recommend from './Recommend'
import Rank from './Rank'
import Like from './Like'
import Floor from './Floor'
import Brand from './Brand'
export default {
  name:'Home',
  components:{
    ListContainer,
    Recommend,
    Rank,
    Like,
    Floor,
    Brand
  },
  mounted(){
    // 在这个页面挂载后获得用户的信息
    this.$store.dispatch('getUserInfo')
  }
}
</script>

<style lang="less" scoped>

</style>